<template>
  <div class="body">
    <common-return :head="name" :path="path"></common-return>
    <component :is="msg"></component>
  </div>
</template>

<script>
  import CommonReturn from "@/components/Common/CommonReturn";
  import PersonalCallus from '../PersonalCallus';
  import PersonalCog from '../PersonalCog';
  import PersonalFeedback from '../PersonalFeedback';
  import PersonalMessage from '../PersonalMessage';
  import PersonalSystemcall from '../PersonalSystemcall';

  export default {
    name: "PersonalAll",
    components: {
      CommonReturn,
      PersonalCallus,
      PersonalCog,
      PersonalFeedback,
      PersonalMessage,
      PersonalSystemcall
    },
    data() {
      return {
        code: 0,
        msg: "",
        name: "",
        path: "/Personals"
      }
    },
    created(){
      let _this = this;
      _this.getMsg();
    },
    methods: {
      getMsg(){
        let _this = this;
        _this.msg = _this.$route.query.msg;
        _this.name = _this.$route.query.name;
      }
    },
  }
</script>

<style scoped>

</style>
